package coms.itboyes.bycommon.commonwidget.pullrefreshload.testrefreshactivity;


import android.app.Activity;
import android.os.Bundle;

import coms.itboyes.bycommon.bycommon.R;
import coms.itboyes.bycommon.commonwidget.pullrefreshload.PullToRefreshLayout;

public class PullableLinearLayoutActivity extends Activity {
	PullToRefreshLayout ptr;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_linearlayout);
		ptr = ((PullToRefreshLayout) findViewById(R.id.refresh_view));
		ptr.setOnRefreshListener(new MyListener());
		ptr.autoRefresh();
	}
}
